Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We had an accessibility scan on EXL and the one very problematic finding was that the mobile navigation trigger wasn't functional when navigating via keyboard (keyboard access was likely only ever tested in a desktop context).
This isn't a Galactus-specific issue, it's a CLF-wide issue.
Changing the
a
tag to abutton
allows for correct focus and function of the trigger. While this could also be done with just aria, I think using thea
tag here is less correct; there is no link to another location, it's a trigger.The unfortunte consequence of changing the element is that the styles need to be updated as well. I've added these in the
clf.drupal.css
file, but I'm sure it could have a better home.I've also added the
aria-controls
andaria-label
attributes to improve screenreader feedback on the two collapsible regions in the header.There's more to do, but this seems to be low-hanging fruit.